<template>
    <div>
    <van-nav-bar style="background-color: #4fc08d;" id="reset" title="设置" left-text="返回" @click-left="back"></van-nav-bar>
    <van-cell  icon="manager-o" is-link to="/">
    <span>添加身份信息</span>
    </van-cell>
    <van-cell  icon="sign" is-link to="/">
    <span>账号与安全</span>
    </van-cell>
    <van-cell  icon="delete-o" is-link to="/">
    <span>清除缓存</span>
    </van-cell>
    <van-cell class="quiet"  icon="cash-back-record" is-link @click="signout">
    <span>退出登录</span>
    </van-cell>
    </div>
</template>
<script>
export default {
    methods:{
        back(){
            this.$router.push('/me')
        },
        signout(){
            sessionStorage.clear();
            this.$router.push("me");
            history.go(0)
        }
    }
}
</script>
<style scoped>
.quiet{
    margin-top: 20px;  
}
#reset /deep/ .van-ellipsis{
		color: white !important;
}
#reset /deep/ .van-nav-bar__text{
		color: white !important;
}
</style>